package dashboardDao

import (
	"gitee.com/yangguoliang001/go-gin-vue3/BO"
	"gorm.io/gorm"
)

type DashboardDao interface {
	QueryMysqlVersion() (mysqlInfo BO.MysqlInfo, err error)
}

type dashboardDao struct {
	DB *gorm.DB
}

func New(db *gorm.DB) DashboardDao {
	return &dashboardDao{
		db,
	}
}
